package com.go.where.manager.dao.impl;

import org.springframework.stereotype.Repository;

import com.go.where.manager.dao.StarPhotoDao;
import com.go.where.manager.pojo.StarPhotoInfo;

@Repository("starPhotoDao")
public class StarPhotoDaoImpl extends BaseDaoImpl<StarPhotoInfo> implements
		StarPhotoDao {

	@Override
	protected String getNameSpace() {
		return "mybatis.xml.StarPhotoMapper";
	}

	@Override
	protected void setPrimary(String nextKey, StarPhotoInfo starPhotoInfo) {
		starPhotoInfo.setId(nextKey);
	}

}
